<?php

use think\facade\Route;


Route::group('admin', function () {
    //添加活动
    Route::any('AdminActive/activeAdd', 'AdminActive/activeAdd');
    //活动回显示
    Route::any('AdminActive/activeInfo', 'AdminActive/activeInfo');
    //活动列表
    Route::any('AdminActive/activeList', 'AdminActive/activeList');
    //获取员工列表
    Route::any('AdminActive/getStaffInfo', 'AdminActive/getStaffInfo');
    //二维码
    Route::any('AdminActive/couponShareQr', 'AdminActive/couponShareQr');
    //活动编辑
    Route::any('AdminActive/activeUpdate', 'AdminActive/activeUpdate');
    //停止发放
    Route::any('AdminActive/stopActive', 'AdminActive/stopActive');
    //员工二维码列表
    Route::any('AdminRecord/staffQrList', 'AdminRecord/staffQrList');
    //满减支付码
    Route::any('AdminRecord/reductionPayQr', 'AdminRecord/reductionPayQr');
    //发放记录
    Route::any('AdminRecord/staffRecordList', 'AdminRecord/staffRecordList');
    //领取记录
    Route::any('AdminRecord/userRecordList', 'AdminRecord/userRecordList');
    //支付记录
    Route::any('AdminRecord/payRecordList', 'AdminRecord/payRecordList');




});

Route::group('app', function () {
    //支付页的数据
    Route::any('IndexActive/payPageInfo', 'IndexActive/payPageInfo');
    //满减券详情
    Route::any('IndexActive/couponInfo', 'IndexActive/couponInfo');
    //员工端的优惠券列表
    Route::any('IndexActive/staffCouponList', 'IndexActive/staffCouponList');
    //满减码
    Route::any('IndexActive/reductionQr', 'IndexActive/reductionQr');
    //用户满减列表
    Route::any('IndexRecord/userRecordList', 'IndexRecord/userRecordList');
    //领取优惠券
    Route::any('IndexRecord/getCoupon', 'IndexRecord/getCoupon');
    //员工分享
    Route::any('IndexRecord/addStaffRecord', 'IndexRecord/addStaffRecord');
    //员工端领取详情
    Route::any('IndexRecord/staffRecordInfo', 'IndexRecord/staffRecordInfo');
    //扫码支付
    Route::any('IndexRecord/payOrder', 'IndexRecord/payOrder');











});

















